import { ref } from "vue";
import service from "../index.js";

const salaryApi = {
    selectAll(data,pageNum){
        const params = {
            pageNum: pageNum,
            data: data
        }
        return service.get('/emp/salary',{params});
    },selectBySid(sid){
        const params = {
            sid:sid
        }
        return service.get('/emp/salary/sid',{params})
    }
    
}
export default salaryApi;